﻿using JwtToken.Redis.WebApi.Tools;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using JwtToken.Redis.WebApi.Tools;
namespace JwtToken.Redis.WebApi.Controllers
{
    /// <summary>
    /// 3333
    /// </summary>
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class HomeController : ControllerBase
    {
        /// <summary>
        /// 332222
        /// </summary>
        [HttpGet]
        public string[] G()
        {
            return new string[2] { "1", "2" };
        }

        public string Test()
        {
            string _connstr = "";
           // string _connstr = JsonConfigManager.GetInstance().ConnectionStrings("PostgreSql");
            return _connstr;
        }
    }
}